<div ng-controller="RoomsCtrl" ng-init="taglistAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/rooms/taglist">{{'标签'| translate}}</a></li>
        <li class="active">
            {{"List"|translate}}
            <a href="#/rooms/tagadd" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a>
        </li>
        <span class="sui-form sui-form pull-right"> 
          
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'房间名称'|translate}}</th>
                <th>{{'房间图片'|translate}}</th>
                <th>{{'房间数量'|translate}}</th>
                <th>{{'最长预约天数'|translate}}</th>
                <th>{{'备注'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in room_list">
                <td>{{list.name}}</td>
                <td>
                    <img ng-src="{{list.img}}" width="120" />
                </td>
                <td>{{list.room_num}}</td>
                <td>{{list.max_booking_days}}</td>
                <td>{{list.remark}}</td>
                <td style="width:80px;">
                    <a href="#/rooms/add?room_id={{list.room_id}}" class="sui-btn btn-info" style="margin-bottom:10px">{{'edit'|translate}}</a>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="pageSize" total="total_count" get-data="getRoomList(pageNo)"></pager>
    <!-- 分页end -->
</div>